package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.FamilyMemberElder;
import com.zzyl.nursing.vo.FamilyMemberPageVo;
import com.zzyl.nursing.vo.MyElderVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FamilyMemberElderMapper extends BaseMapper<FamilyMemberElder> {
    List<MyElderVo> selectMyElderList(@Param("familyMemberId") Long familyMemberId);
    List<FamilyMemberPageVo> selectFamilyMemberListByPage(
            @Param("familyMemberId") Long FamilyMemberId
    );
}
